<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>订单详情</title>
    <link rel="stylesheet" href="__PUBLIC__/layui/css/layui.css"  media="all">
</head>
<style>
    .layui-input-block input{
        width:250px;
    }

</style>
<body>

    <form class="" action="#">
        <div class="layui-form-item">
            <label class="layui-form-label">订单编号:</label>
            <div class="layui-input-block">
                <input id="out_trade_no" type="text" name="out_trade_no" class="layui-input" value="{$list.out_trade_no}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">用户昵称:</label>
            <div class="layui-input-block">
                <input id="nickname" type="text" name="nickname" class="layui-input" value="{$list.nickname}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">商品价格:</label>
            <div class="layui-input-block">
                <input id="price" type="text" name="price" class="layui-input" value="{$list.price}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">支付价格:</label>
            <div class="layui-input-block">
                <input id="pay_money" type="text" name="pay_money" class="layui-input" value="{$list.pay_money}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">状态:</label>
            <div class="layui-input-block">

                <input id="status" type="text" name="status" class="layui-input" value=
                        <if condition="$list.type eq 1">
                <if condition="$list.status eq 1">待收货</if>
                <if condition="$list.status eq 2">借阅中</if>
                <if condition="$list.status eq 3">已逾期</if>
                <if condition="$list.status eq 4">已归还</if>
                </if>
                <if condition="$list.type eq 2">
                    <if condition="$list.status eq 1">待付款</if>
                    <if condition="$list.status eq 2">待发货</if>
                    <if condition="$list.status eq 3">待收货</if>
                    <if condition="$list.status eq 4">已完成</if>
                </if>
                >
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">是否支付:</label>
            <div class="layui-input-block">

                <input id="is_pay" type="text" name="is_pay" class="layui-input" value=<if condition="$list.is_pay eq 1">已支付</if>
                <if condition="$list.is_pay eq 0">待支付</if>>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">创建时间:</label>
            <div class="layui-input-block">
                <input id="screate_time" type="text" name="screate_time" class="layui-input" value="{$list.screate_time}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">商品名称:</label>
            <div class="layui-input-block">

                <input id="goodinfo" type="text" name="goodinfo" class="layui-input" value=
                        <if condition="$list.type eq 1">
                        {$list.goodinfo.book_name}
                        </if>
                        <if condition="$list.type eq 2">
                            {$list.goodinfo.unuse_name}
                        </if>
                >
                <!--<input id="book_address" type="text" name="book_address" class="layui-input" value="{$list.book_address}">-->

            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">快递单号:</label>
            <div class="layui-input-block">
                <input id="kuaidi_sn" type="text" name="kuaidi_sn" class="layui-input" value="{$list.kuaidi_sn}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">快递公司:</label>
            <div class="layui-input-block">
                <input id="kuaidi_com" type="text" name="kuaidi_com" class="layui-input" value="{$list.kuaidi_com}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">运费:</label>
            <div class="layui-input-block">
                <input id="yun_fei" type="text" name="yun_fei" class="layui-input" value="{$list.yun_fei}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">联系方式:</label>
            <div class="layui-input-block">
                <input id="phone" type="text" name="phone" class="layui-input" value="{$list.phone}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">地址:</label>
            <div class="layui-input-block">
                <input id="address" type="text" name="address" class="layui-input" value="{$list.oaddress}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">留言:</label>
            <div class="layui-input-block">
                <input id="liuyan" type="text" name="liuyan" class="layui-input" value="{$list.liuyan}">
            </div>
        </div>
        <!--<div class="layui-form-item">-->
            <!--<label class="layui-form-label">备注:</label>-->
            <!--<div class="layui-input-block">-->
                <!--&lt;!&ndash;<script id="remark2" name="remark2" type="text/plain">{$list.remark2}</script>&ndash;&gt;-->
            <!--</div>-->
        <!--</div>-->
        <input id="id" type="hidden" value="{$list.id}">
    </form>
    <!-- 配置文件 -->
    <script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.config.js"></script>
    <!-- 编辑器源码文件 -->
    <script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.all.js"></script>
    <!-- 实例化编辑器 -->
    <script type="text/javascript">
        // var editor = UE.getEditor('container');
    </script>
    <script src="__PUBLIC__/layui/layui.js" charset="utf-8"></script>
    <script src="__PUBLIC__/js/jquery-1.11.1.min.js" charset="utf-8"></script>
    <script type="text/javascript">
        $(function(){

        });
    </script>
</body>
</html>